Optimal Deterministic Sorting and

نویسندگان

  • Rolf Niedermeier
  • Klaus Reinhardt
  • Peter Rossmanith
چکیده

We present deterministic sorting and routing algorithms for grids and tori with additional diagonal connections. For large loads (h 12), where each processor has at most h data packets in the beginning and in the end, the sorting problem can be solved in optimal hn=6 + o(n) and hn=12 + o(n) steps for grids and tori with diagonals, respectively. For smaller loads, we present a new concentration technique that yields very fast algorithms for h < 12. For a load of 1, the previously most studied case, sorting only takes 1:2n + o(n) steps and routing only 1:1n + o(n) steps. For tori, we can present optimal algorithms for all loads h 1. The above algorithms all use a constant size memory for all processors and never copy or split packets, a property that the corresponding lower bounds make use of. If packets may be copied, 1{1 sorting can be done in only 2n=3 + o(n) on a torus with diagonals. Generally gaining a speedup of 3 by only doubling the number of communication links compared to a grid without diagonals, our work suggests building grids and tori with diagonals.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Novel Deterministic Sampling Scheme with Applications toBroadcast - E cient Sorting on the Recon gurable Mesh

The main contribution of this work is to present a simple deterministic sampling strategy that, when used for bucket sorting, yields buckets that are remarkably well balanced, making costly balancing unnecessary. To the best of our knowledge this is the rst instance of a deterministic sampling strategy featuring this performance. Although the strategy is perfectly general, we illustrate its pow...

متن کامل

Fault Tolerant External Memory Algorithms

Algorithms dealing with massive data sets are usually designed for I/O-efficiency, often captured by the I/O model by Aggarwal and Vitter. Another aspect of dealing with massive data is how to deal with memory faults, e.g. captured by the adversary based faulty memory RAM by Finocchi and Italiano. However, current fault tolerant algorithms do not scale beyond the internal memory. In this paper ...

متن کامل

Optimal Deterministic Sorting and Routing on Grids and Tori with Diagonals 1

We present deterministic sorting and routing algorithms for grids and tori with additional diagonal connections. For large loads (h 12), where each processor has at most h data packets in the beginning and in the end, the sorting problem can be solved in optimal hn=6 + o(n) and hn=12 + o(n) steps for grids and tori with diagonals, respectively. For smaller loads, we present a new concentration ...

متن کامل

Sorting Signed Permutations by Inversions in O(nlogn) Time

The study of genomic inversions (or reversals) has been a mainstay of computational genomics for nearly 20 years. After the initial breakthrough of Hannenhalli and Pevzner, who gave the first polynomial-time algorithm for sorting signed permutations by inversions, improved algorithms have been designed, culminating with an optimal linear-time algorithm for computing the inversion distance and a...

متن کامل

A Note on Coarse Grained Parallel Integer Sorting

We observe that for n/p ≥ p, which is usually the case in practice, there exists a very simple, deterministic, optimal coarse grained parallel integer sorting algorithm with 24 communication rounds (6 n p -relations and 18 p-relations), O(n/p) memory per processor and O(n/p) local computation.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996